<html>
	<head>
		<script language="JavaScript" type="text/javascript" src="jscripts/jquery-1.2.3.min.js"></script>
		<script language="JavaScript" type="text/javascript" src="jscripts/emote.js"></script>
		<script language="JavaScript" type="text/javascript" src="jscripts/resources.js"></script>
    <script language="JavaScript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
		<link rel="stylesheet" href="emote.css"></link>
		
	</head>
	<body>

		<table border="1" width="100%">
			<tbody>
				<tr>
					<td>
						<div id="owner-world">
							<table width="100%">
								<tr>
									<td>
										<div id="owner">
											<div id="owner-view">
												<table width="100%">
													<tr>
														<td><div id="owner-view-emote-image"></div></td>
														<td rowspan="3"><div id="owner-view-emote-content"></div></td>
													</tr>
													<tr>
														<td><div id="owner-view-emote-display-name"></div></td>
													</tr>
													<tr>
														<td><div id="owner-view-emote-thumbnail"></div></td>
													</tr>
												</table>
											</div>											
										</div>
									</td>
								</tr>
								<tr>
									<td>
										<hr/>
									</td>
								</tr>
								<tr>
									<td>
										<div id="owner-friends">
											
										</div>
									</td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div id="viewer-world">
							<table width="100%">
								<tr>
									<td>
										<div id="viewer">

										</div>
									</td>
								</tr>
								<tr>
									<td>
										<hr/>
									</td>
								</tr>
								<tr>
									<td>
										<div id="viewer-friends">
											
										</div>
									</td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
		<script>
			
			var model=new EmoteEntryModel("Rohit Ghatol",
			                              "http://www.desktopexchange.com/gallery/albums/Big_emoticons/angry.gif",
										  "http://www.desktopexchange.com/gallery/albums/Big_emoticons/angry.gif",
										  "Hello World!! aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa adsddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr");

            
			var view=new EmoteEntryView(model);
	        view.appendTo("#viewer-friends");
			view.appendTo("#viewer-friends");
			view.appendTo("#viewer-friends");
			
			var editor=new EmoteEntryEditor(model,emotes);
			
			editor.appendTo("#viewer");
		  editor.registerSaveHandler(function(a,b){alert(a+","+b);});

					
			
		</script>
	</body>
</html>